﻿# -*- coding:utf-8 -*-
#
# Индексная страница
#
from django.contrib import admin
#from comp.models import Photo, NetInterface, Office, Workstation, DeviceState, ModelType, DeviceModel, Device
from comp.models import Photo
from comp.models import Icon
from comp.models import Manufacturer
from comp.models import NetInterface
from comp.models import Office
from comp.models import Workstation
from comp.models import DeviceState
from comp.models import ModelType
from comp.models import DeviceModel
from comp.models import Device 
from comp.models import ModelTypeParam
from comp.models import DeviceParam
from comp.models import ModelParam
from comp.models import MoveReason
from comp.models import MoveHistory
from comp.models import WorkType
from comp.models import MaintenanceHistory



class WorkstationAdmin(admin.ModelAdmin):
    list_display = ('title', 'title_short')


admin.site.register(Workstation, WorkstationAdmin)
admin.site.register(Photo)
admin.site.register(Icon)
admin.site.register(Manufacturer)
admin.site.register(NetInterface)
admin.site.register(Office)
#admin.site.register(Workstation)
admin.site.register(DeviceState)
admin.site.register(ModelType)
admin.site.register(DeviceModel)
admin.site.register(Device)
admin.site.register(ModelTypeParam)
admin.site.register(DeviceParam)
admin.site.register(ModelParam)
admin.site.register(MoveReason)
admin.site.register(MoveHistory)
admin.site.register(WorkType)
admin.site.register(MaintenanceHistory)

